﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<table class="table-orderList">
    <thead>
		<td>自增主键</td>
		<td>转账流水号</td>
		<td>账户ID</td>
		<td>操作金额</td>
		<td>操作币种</td>
		<td>流水类型:收入、支出、冻结、解冻,交易手续费</td>
		<td>账务操作代码</td>
		<td>转账描述</td>
		<td>外部流水号</td>
		<td>创建时间</td>
		<td>修改时间</td>
		<td>用户编号</td>
		<td>操作</td>
    </thead>
    <c:forEach var="item" items="${data}" varStatus="list">
        <tr>
			<td>${item.id }</td>
			<td>${item.trans_id }</td>
			<td>${item.account_no }</td>
			<td>${item.amount }</td>
			<td>${item.amount_type }</td>
			<td>${item.type }</td>
			<td>${item.trans_code }</td>
			<td>${item.trans_memo }</td>
			<td>${item.out_order_no }</td>
			<td>${item.create_time }</td>
			<td>${item.modify_time }</td>
			<td>${item.user_id }</td>
            <td>
                <a class="text-primary mr-10" data-tab-title="修改"
                   href="${basePath}/t_account_log/add?id=${item.id}">修改</a>
                <a class="text-primary mr-10 delBtn" href="javascript:;" data-id="${item.id}">删除</a>
            </td>
        </tr>
    </c:forEach>

</table>

<c:choose>
    <c:when test="${!empty data}">
        ${page}
    </c:when>
   <c:otherwise>
       <div class="relative" style="height: 200px">
           <span>没有符合条件的数据，请尝试其他搜索条件</span>
       </div>
   </c:otherwise>
</c:choose>

